package com.ruoyi.app.domain;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 预约挂号表
 * @TableName appointment
 */
public class Appointment implements Serializable {
    /**
     * 预约ID
     */
    private Long id;

    /**
     * 预约单号
     */
    private String appointmentNo;

    /**
     * 用户ID
     */
    private Long userId;
    private String userName;

    /**
     * 就诊人ID
     */
    private Integer patientId;
    private String patientName;
    /**
     * 医院ID
     */
    private Integer hospitalId;
    private String hospitalName;
    private String hospitalAddressA;

    /**
     * 医院地址ID
     */
    private Integer hospitalAddress;
    private String hospitalAreaName;
    private String hospitalAreaAddress;

    /**
     * 科室ID
     */
    private Integer departmentId;
    private String departmentName;

    /**
     * 医生ID
     */
    private Long doctorId;
    private String doctorName;

    /**
     * 医生职称ID
     */
    private Long jobTitle;
    private String jobTitleName;

    /**
     * 排班ID
     */
    private Long scheduleId;
    private Date scheduleName;

    /**
     * 门诊时间段
     */
    private String period;

    /**
     * 挂号费
     */
    private BigDecimal registrationFee;

    /**
     * 预约时间
     */
    private String visitDate;

    /**
     * 挂号状态：1待就诊，2已就诊，3已取消
     */
    private Integer status;

    /**
     * 挂号类型：普通号、专家号、特需号等
     */
    private String registrationType;
    /**
     * 就诊卡号
     */
    private String cardNo;
    private String htime;

    @Override
    public String toString() {
        return "Appointment{" +
                "id=" + id +
                ", appointmentNo='" + appointmentNo + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", patientId=" + patientId +
                ", patientName='" + patientName + '\'' +
                ", hospitalId=" + hospitalId +
                ", hospitalName='" + hospitalName + '\'' +
                ", hospitalAddressA='" + hospitalAddressA + '\'' +
                ", hospitalAddress=" + hospitalAddress +
                ", hospitalAreaName='" + hospitalAreaName + '\'' +
                ", hospitalAreaAddress='" + hospitalAreaAddress + '\'' +
                ", departmentId=" + departmentId +
                ", departmentName='" + departmentName + '\'' +
                ", doctorId=" + doctorId +
                ", doctorName='" + doctorName + '\'' +
                ", jobTitle=" + jobTitle +
                ", jobTitleName='" + jobTitleName + '\'' +
                ", scheduleId=" + scheduleId +
                ", scheduleName=" + scheduleName +
                ", period='" + period + '\'' +
                ", registrationFee=" + registrationFee +
                ", visitDate='" + visitDate + '\'' +
                ", status=" + status +
                ", registrationType='" + registrationType + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", htime='" + htime + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAppointmentNo() {
        return appointmentNo;
    }

    public void setAppointmentNo(String appointmentNo) {
        this.appointmentNo = appointmentNo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalAddressA() {
        return hospitalAddressA;
    }

    public void setHospitalAddressA(String hospitalAddressA) {
        this.hospitalAddressA = hospitalAddressA;
    }

    public Integer getHospitalAddress() {
        return hospitalAddress;
    }

    public void setHospitalAddress(Integer hospitalAddress) {
        this.hospitalAddress = hospitalAddress;
    }

    public String getHospitalAreaName() {
        return hospitalAreaName;
    }

    public void setHospitalAreaName(String hospitalAreaName) {
        this.hospitalAreaName = hospitalAreaName;
    }

    public String getHospitalAreaAddress() {
        return hospitalAreaAddress;
    }

    public void setHospitalAreaAddress(String hospitalAreaAddress) {
        this.hospitalAreaAddress = hospitalAreaAddress;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Long getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(Long jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getJobTitleName() {
        return jobTitleName;
    }

    public void setJobTitleName(String jobTitleName) {
        this.jobTitleName = jobTitleName;
    }

    public Long getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Date getScheduleName() {
        return scheduleName;
    }

    public void setScheduleName(Date scheduleName) {
        this.scheduleName = scheduleName;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public BigDecimal getRegistrationFee() {
        return registrationFee;
    }

    public void setRegistrationFee(BigDecimal registrationFee) {
        this.registrationFee = registrationFee;
    }

    public String getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(String visitDate) {
        this.visitDate = visitDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRegistrationType() {
        return registrationType;
    }

    public void setRegistrationType(String registrationType) {
        this.registrationType = registrationType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getHtime() {
        return htime;
    }

    public void setHtime(String htime) {
        this.htime = htime;
    }
}